home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 010a / fastm402.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-02-13  |  7KB  |  176 lines

  1. ECHO OFF
  2. CLS
  3. ECHO               ╔══════════════════════════════════════════════════╗
  4. ECHO               ║   fastmenu PLUS (TM) V.4   INSTALL to Drive C:   ║
  5. ECHO               ║   ~~~~~~~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~   ║
  6. ECHO               ║   NOTE !   This batch file will create a new     ║
  7. ECHO               ║   directory called 'FAST' on your hard drive.    ║
  8. ECHO               ║   After  creating  this  directory,  all the     ║
  9. ECHO               ║   necessary  files  from  your  distribution     ║
  10. ECHO               ║   disk(s) will be copied to this directory.      ║
  11. ECHO               ║                                                  ║
  12. ECHO               ║    A .................. Install VGA Version ?    ║
  13. ECHO               ║    B ....... Install CGA/Monochrome Version ?    ║
  14. ECHO               ╟──────────────────────────────────────────────────╢
  15. ECHO               ║    Enter The Letter A or B     (ESC to Abort)    ║
  16. ECHO               ╚══════════════════════════════════════════════════╝
  17. :START1
  18. CHOICE
  19. IF ERRORLEVEL 27 GOTO END2
  20. IF ERRORLEVEL 3 GOTO START1
  21. IF ERRORLEVEL 2 GOTO CGA
  22. :VGA
  23. ECHO .
  24. ECHO   Working.      Please Wait !!
  25. ECHO .
  26. copy config.cga config.ifo
  27. copy fast.vga fast.bat
  28. GOTO DRIVE
  29. :CGA
  30. ECHO .
  31. ECHO   Working.      Please Wait !!
  32. ECHO .
  33. copy fast.cga fast.bat
  34. CLS
  35. ECHO               ╔═══════════════════════════════════════════════════╗
  36. ECHO               ║                    Do you want:                   ║
  37. ECHO               ║    A .............. Color Menus and Prompts ?     ║
  38. ECHO               ║    B ...... Black & White Menus and Prompts ?     ║
  39. ECHO               ╟───────────────────────────────────────────────────╢
  40. ECHO               ║     Enter The Letter A or B    (ESC to Abort)     ║
  41. ECHO               ╚═══════════════════════════════════════════════════╝
  42. :START3
  43. CHOICE
  44. IF ERRORLEVEL 27 GOTO END2
  45. IF ERRORLEVEL 3 GOTO START3
  46. IF ERRORLEVEL 2 GOTO BLACK
  47. :COLOR
  48. ECHO .
  49. ECHO   Working.     Please Wait !!
  50. ECHO .
  51. copy config.cga config.ifo
  52. GOTO DRIVE
  53. :BLACK
  54. ECHO .
  55. ECHO   Working.     Please Wait !!
  56. ECHO .
  57. copy config.b&w config.ifo
  58. :DRIVE
  59. CLS
  60. ECHO               ╔═══════════════════════════════════════════════════╗
  61. ECHO               ║                                                   ║
  62. ECHO               ║   What Drive Are You Installing From (A or B)?    ║
  63. ECHO               ║                                                   ║
  64. ECHO               ╟───────────────────────────────────────────────────╢
  65. ECHO               ║     Enter The Letter A or B    (ESC to Abort)     ║
  66. ECHO               ╚═══════════════════════════════════════════════════╝
  67. :START2
  68. CHOICE
  69. IF ERRORLEVEL 27 GOTO END2
  70. IF ERRORLEVEL 3 GOTO START2
  71. IF ERRORLEVEL 2 GOTO LABELB
  72. :LABELA
  73. ECHO .
  74. ECHO   Working.    Please Wait !!
  75. ECHO .
  76. c:
  77. cd\
  78. if exist FAST.BAT erase FAST.BAT
  79. if exist BRUN45.EXE erase BRUN45.EXE
  80. if exist c:\fast\fastmenu.exe goto nomake
  81. md\fast
  82. :nomake
  83. cd\fast
  84. if exist c:\fast\fasthelp.001 erase c:\fast\fasthelp.001
  85. if exist c:\fast\fasthelp.002 erase c:\fast\fasthelp.002
  86. if exist c:\fast\fasthelp.003 erase c:\fast\fasthelp.003
  87. if exist c:\fast\fasthelp.004 erase c:\fast\fasthelp.004
  88. if exist c:\fast\fasthelp.005 erase c:\fast\fasthelp.005
  89. if exist c:\fast\fasthelp.006 erase c:\fast\fasthelp.006
  90. if exist c:\fast\fasthelp.007 erase c:\fast\fasthelp.007
  91. if exist c:\fast\fasthelp.008 erase c:\fast\fasthelp.008
  92. if exist c:\fast\fasthelp.009 erase c:\fast\fasthelp.009
  93. if exist c:\fast\fasthelp.010 erase c:\fast\fasthelp.010
  94. if exist c:\fast\mouse.ifo erase c:\fast\mouse.ifo
  95. if exist c:\fast\fastrun.exe erase c:\fast\fastrun.exe
  96. if exist c:\fast\fastlogo.ifo erase c:\fast\fastlogo.ifo
  97. if exist c:\fast\master.dat erase c:\fast\master.dat
  98. if exist c:\dos\command.com copy a:\fast.bat c:\dos
  99. if not exist c:\dos\command.com copy a:\fast.bat c:\
  100. if exist c:\dos\command.com copy a:\brun45.exe c:\dos
  101. if not exist c:\dos\command.com copy a:\brun45.exe c:\
  102. copy a:\*.ifo c:\fast
  103. copy a:\*.exe c:\fast
  104. cls
  105. ECHO .
  106. ECHO          Insert fastmenu PLUS Disk #2 into Drive A:
  107. ECHO .
  108. pause
  109. copy a:\*.exe c:\fast
  110. GOTO END1
  111. :LABELB
  112. ECHO .
  113. ECHO   Working.    Please Wait !!
  114. ECHO .
  115. c:
  116. cd\
  117. if exist FAST.BAT erase FAST.BAT
  118. if exist BRUN45.EXE erase BRUN45.EXE
  119. if exist c:\fast\fastmenu.exe goto nomake2
  120. md\fast
  121. :nomake2
  122. cd\fast
  123. if exist c:\fast\fasthelp.001 erase c:\fast\fasthelp.001
  124. if exist c:\fast\fasthelp.002 erase c:\fast\fasthelp.002
  125. if exist c:\fast\fasthelp.003 erase c:\fast\fasthelp.003
  126. if exist c:\fast\fasthelp.004 erase c:\fast\fasthelp.004
  127. if exist c:\fast\fasthelp.005 erase c:\fast\fasthelp.005
  128. if exist c:\fast\fasthelp.006 erase c:\fast\fasthelp.006
  129. if exist c:\fast\fasthelp.007 erase c:\fast\fasthelp.007
  130. if exist c:\fast\fasthelp.008 erase c:\fast\fasthelp.008
  131. if exist c:\fast\fasthelp.009 erase c:\fast\fasthelp.009
  132. if exist c:\fast\fasthelp.010 erase c:\fast\fasthelp.010
  133. if exist c:\fast\mouse.ifo erase c:\fast\mouse.ifo
  134. if exist c:\fast\fastrun.exe erase c:\fast\fastrun.exe
  135. if exist c:\fast\fastlogo.ifo erase c:\fast\fastlogo.ifo 
  136. if exist c:\fast\master.dat erase c:\fast\master.dat
  137. if exist c:\dos\command.com copy b:\fast.bat c:\dos
  138. if not exist c:\dos\command.com copy b:\fast.bat c:\
  139. if exist c:\dos\command.com copy b:\brun45.exe c:\dos
  140. if not exist c:\dos\command.com copy b:\brun45.exe c:\
  141. copy b:\*.ifo c:\fast
  142. copy b:\*.exe c:\fast
  143. cls
  144. ECHO .
  145. ECHO          Insert fastmenu PLUS Disk #2 into Drive B:
  146. ECHO .
  147. pause
  148. copy b:\*.exe c:\fast
  149. GOTO END1
  150. :END1
  151. cd\
  152. CLS
  153. ECHO               ╔═══════════════════════════════════════════════════╗
  154. ECHO               ║     fastmenu PLUS     Installation Completed      ║
  155. ECHO               ║     ~~~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~      ║
  156. ECHO               ║    NOTE !   For the fastmenu application to       ║
  157. ECHO               ║    operate  properly,  you  must  have  a path    ║
  158. ECHO               ║    statement to your  ROOT directory  and your    ║
  159. ECHO               ║    DOS directory  or  the  directory  your DOS    ║
  160. ECHO               ║    files are in, This path statement should be    ║
  161. ECHO               ║    located in your AUTOEXEC.BAT file.             ║
  162. ECHO               ║      Example:  path=c:\;c:\dos                    ║
  163. ECHO               ║    Also if you want fastmenu  to automatically    ║
  164. ECHO               ║    startup when you turn on your computer, you    ║
  165. ECHO               ║    will need to add 'FAST' as the last line or    ║
  166. ECHO               ║    statement in the AUTOEXEC.BAT file.            ║
  167. ECHO               ╟───────────────────────────────────────────────────╢
  168. ECHO               ║    To start fastmenu, at the DOS prompt from      ║
  169. ECHO               ║    any directory type: [ FAST ]  enter.           ║
  170. ECHO               ╚═══════════════════════════════════════════════════╝
  171. GOTO END
  172. :END2
  173. CLS
  174. ECHO                        fastmenu PLUS Installation Aborted !
  175. :END
  176.